package com.jxs.tourist.service;

import com.jxs.tourist.domain.User;
import com.jxs.tourist.domain.UserInfo;
import com.jxs.tourist.domain.UserListBean;

import java.util.List;


public interface UserService {
     int insert(User record);//注册
     User selectByUserId(int id);
     User selectByPrimaryKey(String account);//根据用户账号登录时选出user对象
     List<UserListBean> getAllUser(int actype);//列出所有用户
     int editPassword(User user);
     int deleteAdmin(int id);
}
